using Scheduling.Api.Read.Models;

namespace Scheduling.Api.Read.Services
{
    public interface IXunfeiService
    {
        /// <summary>
        /// 使用HTTP API发送消息到讯飞AI
        /// </summary>
        /// <param name="message">用户消息</param>
        /// <returns>AI回复</returns>
        Task<string> SendMessageAsync(string message);

        /// <summary>
        /// 使用WebSocket发送消息到讯飞AI
        /// </summary>
        /// <param name="message">用户消息</param>
        /// <returns>AI回复</returns>
        Task<string> SendMessageWebSocketAsync(string message);

        /// <summary>
        /// 获取WebSocket连接URL
        /// </summary>
        /// <returns>WebSocket连接URL</returns>
        Task<string> GetWebSocketUrlAsync();
    }
}
